package com.mililoan.common.bean;

import java.util.*;

/**
 * 用户状态 
 * @author hozen 2014-6-26
 */
public class UserStatus {

    private long userid;
    private String userName;
    private String sessionId;//登录session id
    private Date loginDate;//登录时间
    private Date logoutDate;//退出时间，未用
    private Date touchDate;//最后访问时间
    private boolean deleted;//是否删除
    private int loginFailTime;//登录失败次数

    /**
    * <p>Description: Variables Initialize </p>
    * <p>Note: </p>
    * <p>Create Date: 20090316</p>
    * <p>Last Update: 20090316</p>
    * @return String
    */
    public void initValue() {
        userid = 0;
    }

    public long getUserid() {
        return userid;
    }

    public Date getLoginDate() {
        return loginDate;
    }


    public Date getTouchDate() {

        return touchDate;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public String getUserName() {

        return userName;
    }
    public void setUserid(long userid) {
        this.userid = userid;
    }
    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public void setTouchDate(Date touchDate) {

        this.touchDate = touchDate;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public void setUserName(String userName) {

        this.userName = userName;
    }

	public void setLogoutDate(Date logoutDate) {
		this.logoutDate = logoutDate;
	}

	public Date getLogoutDate() {
		return logoutDate;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public String getSessionId() {
		return sessionId;
	}

	public void setLoginFailTime(int loginFailTime) {
		this.loginFailTime = loginFailTime;
	}

	public int getLoginFailTime() {
		return loginFailTime;
	}

}
